import {CommonEntity} from "@/utils/common-types";
import {UserVo} from "@/api/sys/admin/user/types";
import {UserWeapon} from "@/api/sys/dnf/user-weapon/types";
import {Weapon} from "@/api/sys/dnf/weapon/types";
import {WeaponUp} from "@/api/sys/dnf/weapon-up/types";
import {Shop} from "@/api/sys/dnf/shop/types";
import {Recharge} from "@/api/sys/dnf/recharge/types";

/**
 * Record列表
 */
export interface RecordVo extends CommonEntity {
    // 强化是否成功记录,也可以表示其他成功
    success: number;

    errorMessage?: string;

    //'类型1-用户购物 2-用户充值 3-用户购买武器 4-用户强化',
    type: number;

    // 创建时间
    createDate: Date;

    // 哪位用户
    user: UserVo;
    // 用户强化记录
    userWeapon?: UserWeapon;

    weapon?: Weapon;

    // 用户强化多少记录
    weaponUp?: WeaponUp;

    // 购物记录
    shop?: Shop;

    // 充值记录
    recharge?: Recharge;


}
